# -*- coding:utf-8 -*-
from django.contrib import admin

from .models import WXAutoReply
from hybb import bb_admin


class WXAutoReplyAdmin(admin.ModelAdmin):
    list_filter = ['status']
    list_display = ['keyword', 'reply', 'request_num', 'created_time', 'last_modified', 'status']
    search_fields = ['keyword', 'reply']

bb_admin.bb_site.register(WXAutoReply, WXAutoReplyAdmin)
